import CityMap from '@/components/cityMap/CityMap';
import LibraryShow from '@/components/libraryShow/LibraryShow';
import MiniMap from './components/miniMap/MiniMap';
import MyLoading from '@/components/loading/Loading';
import { nextTick } from 'vue';

export let isMobile;

export default () => {
    nextTick(() => {
        (() => {
            isMobile = /Mobile/i.test(navigator.userAgent) || (window.innerWidth / window.innerHeight) < 1;
    
            if (isMobile) {
                document.getElementsByTagName('html')[0].style.fontSize = '114px';
            }
        })()
    })

    return <div id="layers">
        {/* <CityMap /> */}
        {/* <MyLoading /> */}
        {/* <MiniMap /> */}
        <LibraryShow />
    </div>;
};